Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include types/readable-stream as a dependency #111

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

wkillerud
Copy link
Contributor

The type definitions for the Metrics client are incomplete without this dependency, and the fix is hard to identify from the error messages. This is technically not a runtime dependency, and affects only a subset of our users, but this makes the module much easier to consume as TypeScript and/or JSDoc typechecking users.

See for instance podium-lib/http-client#14

The type definitions for the Metrics client are incomplete without
this dependency, and the fix is hard to identify from the error
messages. This is technically not a runtime dependency, and affects
only a subset of our users, but this makes the module much easier
to consume as TypeScript and/or JSDoc typechecking users.
Copy link
Contributor

@leftieFriele leftieFriele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I second this, as it seems kind of pointless to force others to add this rather strange dependency in their projects because they pull in @metrics/client

@wkillerud wkillerud merged commit 7a4f9d4 into main Nov 13, 2024
7 checks passed
@wkillerud wkillerud deleted the types-dep branch November 13, 2024 09:44
github-actions bot pushed a commit that referenced this pull request Nov 13, 2024
## [2.5.4](v2.5.3...v2.5.4) (2024-11-13)

### Bug Fixes

* include types/readable-stream as a dependency ([#111](#111)) ([7a4f9d4](7a4f9d4))
Copy link

🎉 This PR is included in version 2.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants